博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
对联广告 的css
阅读量:7209 次
发布时间:2019-06-29

本文共 1191 字,大约阅读时间需要 3 分钟。

hot3.png

页面:

css:

.r1{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:200px;        position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);right:20px;}.r2{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:320px;        position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);right:20px;}.l1{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:200px;        position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);left:20px;}.l2{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:320px;        position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);left:20px;}

js:

function guanbiduilianguanggao(){document.getElementById('l1').style.display = 'none';document.getElementById('l2').style.display = 'none';document.getElementById('r1').style.display = 'none';document.getElementById('r2').style.display = 'none';}

效果:

转载于:https://my.oschina.net/wangt10/blog/508366

你可能感兴趣的文章
Apache2.4+PHP7+MySQL5.7配置
查看>>
HBase学习3(win下使用Eclipse搭建hbase开发环境)
查看>>
flask开发没有解决的bug记录
查看>>
vscode 基本配置和使用
查看>>
C# PictureBox加载图片并显示进度条
查看>>
深入浅出MFC笔记
查看>>
【第47题】【062题库】2019年OCP认证062考试新题
查看>>
第一次实验
查看>>
Redis基础操作
查看>>
clob大数据转换为多行数据
查看>>
bootstrap的流式布局
查看>>
如何通过线程池异步调用
查看>>
Squid配置详解
查看>>
070104_微积分:随机变量及其分布(二项分布,均匀分布,正态分布)
查看>>
LeetCode – Refresh – Binary Tree Zigzag Level Order Traversal
查看>>
python操作三大主流数据库(13)python操作redis之新闻项目实战①新闻数据的导入
查看>>
2013夏,iDempiere来了 - v1.0c Installers (Devina LTS Release) 2013-06-27
查看>>
每天一个linux命令(22):find 命令的参数详解
查看>>
然后是几点(15)
查看>>
15.节点属性
查看>>